package com.meiyou.service;

import java.util.List;

import com.meiyou.pojo.Chongzhi;
import com.meiyou.pojo.MeiyouChongzhi;
import com.meiyou.pojo.User;

public interface ChongzhiService {

	//创建充值订单
	int addChongzhijilu(Chongzhi chongzhi);
	
	//查询没充值前金币
	double selectMeijin(String username);
	
	//添加充值金币
	int updateMeijin(User user);
	
	//查询充值记录	
	List<Chongzhi> selectChongzhijilu(Chongzhi chongzhi);
	
	//删除充值记录
	int delete(int id);
	//更新重值状态
	int updateState(MeiyouChongzhi chongzhi);
}
